@import "../../assets/css/base.scss";
@import "../../assets/css/mixin.scss";

$classPrefix: column;
.#{$classPrefix}-wrapper {
    display: flex;
    flex-flow: wrap;
    padding: 0 10px;
    .#{$classPrefix}-item {
        min-width: 0;
        flex: 0 0 33.33333%;
        box-sizing: border-box;
        padding: 20px 5px 0;
        .#{$classPrefix}-img {
            width: 100%;
            height: 0;
            padding-top: 100%;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            &:before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                z-index: 1;
                height: 80px;
                background: linear-gradient(to bottom, rgba(0, 0, 0, .35) 0, rgba(0, 0, 0, .2) 80%, rgba(0, 0, 0, 0) 100%);
            }
            &:after {
                content : attr(data-play);
                position: absolute;
                top: 15px;
                right: 20px;
                z-index: 1;
                display: block;
                height: 40px;
                line-height: 40px;
                padding-left: 40px;
                font-size: $font-size-small-ss;
                color: #fff;
                @include bg-url("../../assets/img/discover/zf.png");
                @include bg-full($p:left,$s:30px);
            }
            img {
                position: absolute;
                top: 0;
                left: 0;
                @include img-full;
            }
        }
        .#{$classPrefix}-title {
            height: 100px;
            margin: 20px 10px;
            line-height: 50px;
            color: $rowList-title-color;
            font-size: $font-size-small-ss;
            word-wrap: break-word;
            word-break: break-all;
            @include no-wrap-line(2);
        }
    }
}
